import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from './http'


import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

import moment from 'moment';
import 'moment/locale/zh-cn';
moment.locale('zh-cn');

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false

Vue.use(ElementUI);
Vue.use(Antd);

Vue.prototype.$axios = axios;
// axios.defaults.baseURL = '/api/'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
